<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@include file="/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<fmt:bundle basename="res">
<head>
    <meta charset="utf-8">
    <title><fmt:message key='lb'/></title>
    <jsp:include page="/WEB-INF/commons/commons-header.jsp" flush="true"/>
</head>
<body>

<div class="layui-fluid">
    <%--<div class="layui-card">--%>
        <%--<div class="layui-form layui-card-header layuiadmin-card-header-auto">--%>
<%----%>
            <%--<div class="layui-form-item">--%>
                <form name="totalForm" id="totalForm" action="${web_domain}/mall/cloudstore/${params.id}/details" method="get">

                    <%--<div class="layui-inline">--%>
                        <%--<label class="layui-form-label"><fmt:message key='sjmc'/></label>--%>
                        <%--<div class="layui-input-inline">--%>
                            <%--<input type="text" name="shopName" placeholder="<fmt:message key='qsrddmc'/>" value="<c:if test='${params.shopName !=null}'>${params.shopName}</c:if>" autocomplete="off" class="layui-input">--%>
                        <%--</div>--%>
                    <%--</div>--%>

                    <%--<div class="layui-inline">--%>
                        <%--<label class="layui-form-label"><fmt:message key='lxr'/></label>--%>
                        <%--<div class="layui-input-inline">--%>
                            <%--<input type="text" name="realName" placeholder="<fmt:message key='qsrddmc'/>" value="<c:if test='${params.realName !=null}'>${params.realName}</c:if>" autocomplete="off" class="layui-input">--%>
                        <%--</div>--%>
                    <%--</div>--%>

                    <%--<div class="layui-inline">--%>
                        <%--<label class="layui-form-label"><fmt:message key='sjh'/></label>--%>
                        <%--<div class="layui-input-inline">--%>
                            <%--<input type="text" name="mobile" placeholder="<fmt:message key='qsrddmc'/>" value="<c:if test='${params.mobile !=null}'>${params.mobile}</c:if>" autocomplete="off" class="layui-input">--%>
                        <%--</div>--%>
                    <%--</div>--%>

                    <%--<div class="layui-inline">--%>
                        <%--<button class="layui-btn layui-btn-sm layuiadmin-btn-list" id="search"><i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> <fmt:message key='ss'/></button>--%>
                    <%--</div>--%>
                </form>
            <%--</div>--%>
        <%--</div>--%>
<%----%>
    <%--</div>--%>

    <div class="layui-card">
        <div class="layui-field-box layui-form">

            <table class="layui-table" lay-size="sm">
                <thead>
                <th style="border-color: black;"><fmt:message key='bh'/></th>
                <th style="border-color: black;"><fmt:message key='sptp'/></th>
                <th style="border-color: black;"><fmt:message key='spmc'/></th>
                <th style="border-color: black;">SKU</th>
                <th style="border-color: black;"><fmt:message key='sl'/></th>
                </thead>
                <c:forEach items="${page.result}" var="detail">
                    <tr>
                        <td style="border-color: black;">${detail.sku.code}</td>
                        <td style="border-color: black;"><img class="preview" style="width:40px;" src="${store_domain}/uploads/${detail.goods.defaultImage}"/></td>
                        <td style="border-color: black;">${detail.goods.name}</td>
                        <td style="border-color: black;">${detail.sku.skuNames}</td>
                        <td style="border-color: black;">${detail.quantity}</td>
                    </tr>
                </c:forEach>
            </table>
            <jsp:include page="/commons/page.jsp" flush="true"/>
        </div>
    </div>

</div>

<script>


    layui.use(['form', 'laydate'], function () {

        var form = layui.form;
    });

</script>
</body>
</fmt:bundle>
</html>
